﻿namespace SampleApplication.CoffeeShopSample.Implementation.Application.Commands
{
    #region Usings

    using Dependencies.Application;
    using System;

    #endregion Usings

    public class NotRecognizedCommand : ICommand
    {
        private readonly IOutputWriter outputWriter;

        public NotRecognizedCommand(IOutputWriter outputWriter)
        {
            if (outputWriter == null) throw new ArgumentNullException("outputWriter");

            this.outputWriter = outputWriter;
        }

        public void Execute()
        {
            outputWriter.WriteLine("Command not recognized. Press any key to continue...");
        }
    }
}